﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace KunLunDirModels.Model {
	[Serializable]
	public class DivFrame {
		[XmlElement("project_name")]
		public string ProjectName { get; set; }

		[XmlElement("clip_x")]
		public int ClipX { get; set; }

		[XmlElement("clip_y")]
		public int ClipY { get; set; }

		[XmlElement("clip_w")]
		public int ClipW { get; set; }

		[XmlElement("clip_h")]
		public int ClipH { get; set; }

		[XmlElement("frame_w")]
		public int FrameW { get; set; }

		[XmlElement("frame_h")]
		public int FrameH { get; set; }

		[XmlElement("product_id")]
		public int ProductID { get; set; }

		[XmlArray("frame_items")]
		[XmlArrayItem("frame_item")]
		public List<DivFrameItem> FrameItems { get; set; }

	}
}
